package cn.vcjf.washcar.api.user.entity;

import cn.vcjf.washcar.common.web.PageModel;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 用户汽车表
 * </p>
 *
 * @author zhengzihang
 * @since 2018-07-23
 */
@TableName("user_car")
public class UserCar extends PageModel {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 汽车品牌id
     */
    private Integer carBrand;

    /**
     * 汽车型号信息
     */
    private String carInfo;
    /**
     * 汽车颜色信息
     */
    private String color;
    /**
     * 汽车是否默认
     */
    private Integer defaultCar;

    /**
     * 车牌号
     */
    private String licence;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 汽车图片正面
     */
    private String carPhotoFront;

    /**
     * 汽车背面图片
     */
    private String carPhotoBack;

    /**
     * 汽车左面图片
     */
    private String carPhotoLeft;

    /**
     * 汽车右面图片
     */
    private String carPhotoRight;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public Integer getCarBrand() {
        return carBrand;
    }

    public void setCarBrand(Integer carBrand) {
        this.carBrand = carBrand;
    }
    public String getCarInfo() {
        return carInfo;
    }
    public Integer getDefaultCar() {
        return defaultCar;
    }
    public void setDefaultCar(Integer defaultCar) {
        this.defaultCar = defaultCar;
    }
    public void setCarInfo(String carInfo) {
        this.carInfo = carInfo;
    }
    public String getLicence() {
        return licence;
    }
    public void setColor(String color) {
        this.color = color;
    }
    public String getColor() {
        return color;
    }

    public void setLicence(String licence) {
        this.licence = licence;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public String getCarPhotoFront() {
        return carPhotoFront;
    }

    public void setCarPhotoFront(String carPhotoFront) {
        this.carPhotoFront = carPhotoFront;
    }
    public String getCarPhotoBack() {
        return carPhotoBack;
    }

    public void setCarPhotoBack(String carPhotoBack) {
        this.carPhotoBack = carPhotoBack;
    }
    public String getCarPhotoLeft() {
        return carPhotoLeft;
    }

    public void setCarPhotoLeft(String carPhotoLeft) {
        this.carPhotoLeft = carPhotoLeft;
    }
    public String getCarPhotoRight() {
        return carPhotoRight;
    }

    public void setCarPhotoRight(String carPhotoRight) {
        this.carPhotoRight = carPhotoRight;
    }

    @Override
    public String toString() {
        return "UserCar{" +
        "id=" + id +
        ", userId=" + userId +
        ", carBrand=" + carBrand +
        ", carInfo=" + carInfo +
        ", licence=" + licence +
        ", sort=" + sort +
        ", carPhotoFront=" + carPhotoFront +
        ", carPhotoBack=" + carPhotoBack +
        ", carPhotoLeft=" + carPhotoLeft +
        ", carPhotoRight=" + carPhotoRight +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        ", updateUser=" + updateUser +
        ", updateTime=" + updateTime +
        ", deleteFlag=" + deleteFlag +
        "}";
    }
}
